package com.qyhl.webtv.module_news.common;

import com.qyhl.webtv.commonlib.common.CommonUtils;

/**
 * 新闻URL地址
 *
 * @author helin
 * @date 2019年4月18日14:36:44
 */
public class NewsUrl {

    /**
     * 新闻地址
     */
    public static final String BASE_NEWS_URL;

    /**
     * 推荐新闻地址
     */
    public static final String BASE_REC_NEWS_URL;

    /**
     * 图文直播列表
     */
    public static final String BASE_SCENE_URL;
    /**
     * 圈子地址
     */
    public static final String CIRCLE_URL;

    public static final String LUCK_DRAW_URL;

    public static final String PARTY_BUILDING = "http://dangjianapi.i2863.com/";

    static {
        BASE_NEWS_URL = CommonUtils.getInstance().getBaseUrl();
        BASE_REC_NEWS_URL = CommonUtils.getInstance().getRecNewsUrl();
        BASE_SCENE_URL = CommonUtils.getInstance().getSceneUrl();
        CIRCLE_URL = CommonUtils.getInstance().getCircleUrl();
        LUCK_DRAW_URL = CommonUtils.getInstance().getLuckDrawUrl();
    }


    /**
     * 新闻收藏
     */
    public final static String GET_NEWS_COLLECTION = BASE_NEWS_URL + "app/CollectNews";

    /**
     * 新趣汇详情
     */
    public final static String GET_LIFE_DETAILS = BASE_NEWS_URL + "news/shopNewsDetail";

    /**
     * 新趣汇最新内容
     */
    public final static String GET_LIFE_NEWS = BASE_NEWS_URL + "app/lifeNews";

    /**
     * 新趣汇顶部轮播
     */
    public final static String GET_LIFE_TOP = BASE_NEWS_URL + "app/lifeTop";

    /**
     * 广告点击统计
     */
    public final static String GET_NEWADV_COUNT = BASE_NEWS_URL + "adv/advClick";

    /**
     * 获取议事厅
     */
    public final static String GET_MEETTING_ROOM = BASE_SCENE_URL + "metting/street";

    /**
     * 议事厅
     */
    public final static String GET_MEETING_ADD = BASE_SCENE_URL + "metting/addEncrypt";

    /**
     * 乡镇详情推荐列表
     */
    public final static String GET_TOWN_RECOMMEND = BASE_NEWS_URL + "app/town";

    /**
     * 乡镇详情顶部轮播
     */
    public final static String GET_TOWN_TOP = BASE_NEWS_URL + "app/sectionsTop";

    /**
     * 议事厅列表
     */
    public final static String GET_MEETING_ROOM_LIST = BASE_SCENE_URL + "metting/list";

    /**
     * 乡镇列表
     */
    public final static String GET_TOWN_LIST = BASE_NEWS_URL + "news/subSection";


    /**
     * 专题底部新闻接口
     */
    public final static String GET_SPECIAL = BASE_NEWS_URL + "app/topicNews";

    /**
     * 小视频除推荐外栏目
     */
    public final static String GET_SMALL_VIDEO_OTHER = BASE_REC_NEWS_URL + "recommendNews/listBySection";

    /**
     * 小视频推荐
     */
    public final static String GET_RECOMMEND_VIDEO = BASE_REC_NEWS_URL + "recommendNews/newNews";

    /**
     * 首页小视频列表
     */
    public final static String GET_SMALL_VIDEO_LIST = BASE_REC_NEWS_URL + "recommendNews/randomBySection";

    /**
     * 获取全部评论
     */
    public final static String GET_ALL_COMMENTS = BASE_NEWS_URL + "news/comments";

    /**
     * 新闻举报
     */
    public static String NEWS_COMPLAIN_URL = BASE_NEWS_URL + "report/add";

    /**
     * REC新闻详情
     */
    public final static String GET_VIDEO_COMMENT_DETAIL = BASE_NEWS_URL + "news/recNewsDetail";

    /**
     * 小视频及抓取新闻评论获取
     */
    public final static String GET_COMMENT = BASE_REC_NEWS_URL + "comment/list";

    /**
     * 小视频及抓取新闻发送评论
     */
    public final static String SEND_COMMENT = BASE_REC_NEWS_URL + "comment/addCom";

    /**
     * 抓取新闻点击量
     */
    public final static String GET_CATCH_NEWS_COUNT = BASE_REC_NEWS_URL + "recommendNews/onClick";

    /**
     * 获取指定栏目新闻
     */
    public final static String GET_HOME_NEWS = BASE_NEWS_URL + "app/homeNews";


    /**
     * 获取南部样式栏目新闻
     */
    public final static String GET_NANBU_NEWS = BASE_NEWS_URL + "app/catalogNewsByHit";

    /**
     * 列表广告
     */
    public final static String GET_LIST_ADV = BASE_NEWS_URL + "adv/getListAdv";

    /**
     * 获取节目列表
     */
    public final static String GET_MENU_LIST = BASE_NEWS_URL + "menuSec/getMenuSecList";


    /**
     * 节目下最新新闻
     */
    public final static String GET_UPTODATE_NEWS = BASE_NEWS_URL + "news/showNews";

    /**
     * 获取普通新闻详情
     */
    public final static String GET_GENERAL_NEWS_DETAIL = BASE_NEWS_URL + "news/commonNews";

    /**
     * 栏目详情内广告
     */
    public final static String GET_DETAIL_ADV = BASE_NEWS_URL + "adv/getBanerAdv";


    public final static String GET_SHARE_COUNT = BASE_NEWS_URL + "news/shareCount";

    /**
     * 新闻详情点击数
     */
    public final static String GET_NEWS_DETAIL_COUNT = BASE_NEWS_URL + "news/NewsCount";

    /**
     * 获取图片新闻详情
     */
    public final static String GET_PHOTO_NEWS_DETAIL = BASE_NEWS_URL + "news/imageNews";


    /**
     * 吉林省新闻
     */
    public final static String JL_NEWS_PROVINCE_LIST = BASE_NEWS_URL + "otherNews/provinceList";

    public final static String JL_NEWS_TOWN_LIST = BASE_NEWS_URL + "otherNews/countyList";

    public final static String JL_NEWS_DETAIL = BASE_NEWS_URL + "otherNews/detail";

    public final static String JL_NEWS_CITY = BASE_NEWS_URL + "otherNews/getarea";

    public final static String JL_NEWS_MULTI_LIST = BASE_NEWS_URL + "otherNews/subscribe";


    /**
     * 我的发票查询
     */
    public final static String QUERY_LUCK_DRAW_TICKETS = LUCK_DRAW_URL + "app/getReceiptByPhone";

    /**
     * 开票有喜本期信息
     */
    public final static String LUCK_DRAW_PHASE = LUCK_DRAW_URL + "app/getcurrentactivity";

    /**
     * 查询中奖信息
     */
    public final static String QUERY_LUCK_DRAW_INFO = LUCK_DRAW_URL + "app/querywinner";

    /**
     * 发票信息提交
     */
    public final static String LUCK_DRAW_ADD = LUCK_DRAW_URL + "app/addreceipt";


    /**
     * 党史首页
     */
    public final static String PARTY_BUILDING_CONFIG = PARTY_BUILDING + "home/catalog";

    /**
     * 党史栏目信息
     */
    public final static String PARTY_BUILDING_CATALOG_INFO = BASE_NEWS_URL + "news/cataLog";
}
